back · tests/capture.spec.ts:65:2 / Camera
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:82:40
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:25:64)
at tests/capture.spec.ts:73:3
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:82:40
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:25:64)
at tests/capture.spec.ts:73:3
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:82:40
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:25:64)
at tests/capture.spec.ts:73:3
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:25:64)
at tests/capture.spec.ts:73:3
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir la photo prise', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir la photo prise', exact: true })
at expectPhotoCount (tests/capture.spec.ts:25:64)
at tests/capture.spec.ts:69:3
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:82:40
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:25:64)
at tests/capture.spec.ts:73:3
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:82:40
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByTestId('observations-area').getByRole('article').filter({ has: getByRole('heading', { name: '' }) }).first().locator('img')
38680 pixels (ratio 0.99 of all image pixels) are different.
Call log:
- Expect "soft toHaveScreenshot" with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('observations-area').getByRole('article').filter({ has: getByRole('heading', { name: '' }) }).first().locator('img')
- locator resolved to <img alt="IMG_0001.PNG" class="svelte-pa7bo1" src="blob:http://localhost:4173/e2540888-07c3-44a3-b335-cc8303efefa0"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 38680 pixels (ratio 0.99 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('observations-area').getByRole('article').filter({ has: getByRole('heading', { name: '' }) }).first().locator('img')
- locator resolved to <img alt="IMG_0001.PNG" class="svelte-pa7bo1" src="blob:http://localhost:4173/e2540888-07c3-44a3-b335-cc8303efefa0"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 38680 pixels (ratio 0.99 of all image pixels) are different.
at tests/capture.spec.ts:83:55
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:82:40
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:25:64)
at tests/capture.spec.ts:73:3
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByTestId('observations-area').getByRole('article').filter({ has: getByRole('heading', { name: '' }) }).first().locator('img')
38680 pixels (ratio 0.99 of all image pixels) are different.
Call log:
- Expect "soft toHaveScreenshot" with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('observations-area').getByRole('article').filter({ has: getByRole('heading', { name: '' }) }).first().locator('img')
- locator resolved to <img alt="IMG_0001.PNG" class="svelte-pa7bo1" src="blob:http://localhost:4173/3c899bf6-ec0d-4a56-ba11-8f16c7517ac1"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 38680 pixels (ratio 0.99 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('observations-area').getByRole('article').filter({ has: getByRole('heading', { name: '' }) }).first().locator('img')
- locator resolved to <img alt="IMG_0001.PNG" class="svelte-pa7bo1" src="blob:http://localhost:4173/3c899bf6-ec0d-4a56-ba11-8f16c7517ac1"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 38680 pixels (ratio 0.99 of all image pixels) are different.
at tests/capture.spec.ts:69:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
3 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir la photo prise', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir la photo prise', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:55:3
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
3 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
4 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByTestId('observations-area').getByRole('article').filter({ has: getByRole('heading', { name: '' }) }).first().locator('img')
38680 pixels (ratio 0.99 of all image pixels) are different.
Call log:
- Expect "soft toHaveScreenshot" with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('observations-area').getByRole('article').filter({ has: getByRole('heading', { name: '' }) }).first().locator('img')
- locator resolved to <img alt="IMG_0001.PNG" class="svelte-pa7bo1" src="blob:http://localhost:4173/3990c07d-18cb-4ba1-a94a-9fb34f658ab1"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 38680 pixels (ratio 0.99 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('observations-area').getByRole('article').filter({ has: getByRole('heading', { name: '' }) }).first().locator('img')
- locator resolved to <img alt="IMG_0001.PNG" class="svelte-pa7bo1" src="blob:http://localhost:4173/3990c07d-18cb-4ba1-a94a-9fb34f658ab1"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 38680 pixels (ratio 0.99 of all image pixels) are different.
at tests/capture.spec.ts:69:55
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByTestId('observations-area').getByRole('article').filter({ has: getByRole('heading', { name: '' }) }).first().locator('img')
38680 pixels (ratio 0.99 of all image pixels) are different.
Call log:
- Expect "soft toHaveScreenshot" with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('observations-area').getByRole('article').filter({ has: getByRole('heading', { name: '' }) }).first().locator('img')
- locator resolved to <img alt="IMG_0001.PNG" class="svelte-pa7bo1" src="blob:http://localhost:4173/27a003b2-04cc-4016-81d3-c0d8f71638cb"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 38680 pixels (ratio 0.99 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('observations-area').getByRole('article').filter({ has: getByRole('heading', { name: '' }) }).first().locator('img')
- locator resolved to <img alt="IMG_0001.PNG" class="svelte-pa7bo1" src="blob:http://localhost:4173/27a003b2-04cc-4016-81d3-c0d8f71638cb"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 38680 pixels (ratio 0.99 of all image pixels) are different.
at tests/capture.spec.ts:69:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
4 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
4 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByTestId('observations-area').getByRole('article').filter({ has: getByRole('heading', { name: '' }) }).first().locator('img')
38680 pixels (ratio 0.99 of all image pixels) are different.
Call log:
- Expect "soft toHaveScreenshot" with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('observations-area').getByRole('article').filter({ has: getByRole('heading', { name: '' }) }).first().locator('img')
- locator resolved to <img alt="IMG_0001.PNG" class="svelte-pa7bo1" src="blob:http://localhost:4173/9aa99655-4369-4cd7-a1b6-ea4435bb147d"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 38680 pixels (ratio 0.99 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('observations-area').getByRole('article').filter({ has: getByRole('heading', { name: '' }) }).first().locator('img')
- locator resolved to <img alt="IMG_0001.PNG" class="svelte-pa7bo1" src="blob:http://localhost:4173/9aa99655-4369-4cd7-a1b6-ea4435bb147d"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 38680 pixels (ratio 0.99 of all image pixels) are different.
at tests/capture.spec.ts:69:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
4 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
4 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
4 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
4 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
4 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:66:40
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
3 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:60:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:39:65)
at tests/capture.spec.ts:57:3
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:66:40
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
3 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:60:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:39:65)
at tests/capture.spec.ts:57:3
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures/app.ts:167:16)
at Object.forEachTest (tests/fixtures/foreachtest.ts:131:16)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/capture.spec.ts:10:7
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/capture.spec.ts:10:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures/app.ts:167:16)
at Object.forEachTest (tests/fixtures/foreachtest.ts:131:16)
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:82:40
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:25:64)
at tests/capture.spec.ts:73:3
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: locator.click: Test ended.
Call log:
- waiting for getByTestId('goto-home')
- waiting for "http://localhost:4173/" navigation to finish...
at goHome (tests/utils/navigation.js:22:38)
at newSession (tests/utils/sessions.js:28:8)
at tests/capture.spec.ts:53:9
Error: route.fetch: connect ECONNREFUSED ::1:4173
Call log:
- → GET http://localhost:4173/
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.7922.34 Safari/537.36
- accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
- accept-encoding: gzip,deflate,br
- accept-language: fr-FR
- upgrade-insecure-requests: 1
- sec-ch-ua: "Not=A?Brand";v="99", "HeadlessChrome";v="151", "Chromium";v="151"
- sec-ch-ua-mobile: ?0
- sec-ch-ua-platform: "Windows"
at route.fetch: connect ECONNREFUSED ::1:4173
at tests/fixtures/foreachtest.ts:54:32
Error: page.goto: net::ERR_ABORTED; maybe frame was detached?
Call log:
- navigating to "http://localhost:4173/", waiting until "load"
at Object.forEachTest (tests/fixtures/foreachtest.ts:135:14)
Error: page.goto: net::ERR_ABORTED; maybe frame was detached?
Call log:
- navigating to "http://localhost:4173/", waiting until "load"
at Object.forEachTest (tests/fixtures/foreachtest.ts:135:14)
Error: locator.click: Test ended.
Call log:
- waiting for getByTestId('goto-home')
- waiting for "http://localhost:4173/" navigation to finish...
at goHome (tests/utils/navigation.js:22:38)
at newSession (tests/utils/sessions.js:28:8)
at tests/capture.spec.ts:53:9
Error: route.fetch: connect ECONNREFUSED ::1:4173
Call log:
- → GET http://localhost:4173/
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.7922.34 Safari/537.36
- accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
- accept-encoding: gzip,deflate,br
- accept-language: fr-FR
- upgrade-insecure-requests: 1
- sec-ch-ua: "Not=A?Brand";v="99", "HeadlessChrome";v="151", "Chromium";v="151"
- sec-ch-ua-mobile: ?0
- sec-ch-ua-platform: "Windows"
at route.fetch: connect ECONNREFUSED ::1:4173
at tests/fixtures/foreachtest.ts:54:32
Error: route.fetch: connect ECONNREFUSED ::1:4173
Call log:
- → GET http://localhost:4173/
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.7922.34 Safari/537.36
- accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
- accept-encoding: gzip,deflate,br
- accept-language: fr-FR
- upgrade-insecure-requests: 1
- sec-ch-ua: "Not=A?Brand";v="99", "HeadlessChrome";v="151", "Chromium";v="151"
- sec-ch-ua-mobile: ?0
- sec-ch-ua-platform: "Windows"
at route.fetch: connect ECONNREFUSED ::1:4173
at tests/fixtures/foreachtest.ts:54:32
Error: page.goto: net::ERR_ABORTED; maybe frame was detached?
Call log:
- navigating to "http://localhost:4173/", waiting until "load"
at Object.forEachTest (tests/fixtures/foreachtest.ts:135:14)
Error: locator.click: Test ended.
Call log:
- waiting for getByTestId('goto-home')
- waiting for "http://localhost:4173/" navigation to finish...
at goHome (tests/utils/navigation.js:22:38)
at newSession (tests/utils/sessions.js:28:8)
at tests/capture.spec.ts:53:9
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:82:40
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:25:64)
at tests/capture.spec.ts:73:3
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByTestId('observations-area').getByRole('article').filter({ has: getByRole('heading', { name: '' }) }).first().locator('img')
38680 pixels (ratio 0.99 of all image pixels) are different.
Call log:
- Expect "soft toHaveScreenshot" with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('observations-area').getByRole('article').filter({ has: getByRole('heading', { name: '' }) }).first().locator('img')
- locator resolved to <img alt="IMG_0001.PNG" class="svelte-pa7bo1" src="blob:http://localhost:4173/03ac1266-0a73-4554-ba87-b4ac52b1db51"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 38680 pixels (ratio 0.99 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('observations-area').getByRole('article').filter({ has: getByRole('heading', { name: '' }) }).first().locator('img')
- locator resolved to <img alt="IMG_0001.PNG" class="svelte-pa7bo1" src="blob:http://localhost:4173/03ac1266-0a73-4554-ba87-b4ac52b1db51"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 38680 pixels (ratio 0.99 of all image pixels) are different.
at tests/capture.spec.ts:83:55
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" getByTestId('floating-messages') with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" getByTestId('observations-area').getByRole('article') with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:82:40
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" getByRole('button', { name: 'Voir les 2 photos prises', exact: true }) with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:25:64)
at tests/capture.spec.ts:73:3
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" getByTestId('floating-messages') with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
4 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:82:40
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:25:64)
at tests/capture.spec.ts:73:3
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:25:64)
at tests/capture.spec.ts:73:3
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:82:40
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:82:40
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:25:64)
at tests/capture.spec.ts:73:3
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
4 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
4 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
4 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40